-- GENERATED SPELL FOR [Vampiric Mistbat] --


function spell0_16354(pUnit, Event) --@Draining Touch,n/a--
pUnit:FullCastSpellOnTarget(29363,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16354', 613, 1)
end

function Sorts_16354(pUnit, Event)
local choix_sorts_16354 = math.random(0, 0)
if choix_sorts_16354 == 0 then
pUnit:RegisterEvent('spell0_16354', 1, 1)
end
end

function mob16354_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16354', math.random(1500, 3000), 1)
end

function mob16354_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16354_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16354_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16354, 1, 'mob16354_Action')
RegisterUnitEvent(16354, 2, 'mob16354_Leave')
RegisterUnitEvent(16354, 3, 'mob16354_Kill')
RegisterUnitEvent(16354, 4, 'mob16354_Die')
